package org.example.lost.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.annotation.security.DenyAll;
import java.util.Date;

@Data
public class FoundInfo {

    @ApiModelProperty("拾物id")
    private String foundId;

    @ApiModelProperty("拾物类别id")
    private String kindId;

    @ApiModelProperty("拾物名称")
    private String foundName;

    @ApiModelProperty("拾物地点")
    private String foundPlace;

    @ApiModelProperty("拾物时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date foundTime;

    @ApiModelProperty("拾物描述")
    private String foundDecp;

    @ApiModelProperty("拾物照片（为URL）")
    private String foundPhoto;

    @ApiModelProperty("拾伍发布人id")
    private String userId;

    @ApiModelProperty("认领人id")
    private String lostUserId;

    @ApiModelProperty("审核状态")
    private Integer checkStatus;

    @ApiModelProperty("拾物信息发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date foundReleaseTime;

    @ApiModelProperty("拾物状态（0为等待认领，1为已认领）")
    private Integer foundStatus;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;


}